package cn.itcast.dao;

import cn.itcast.domain.User;
import org.springframework.jdbc.core.JdbcTemplate;

import java.util.List;

/**
 * @author: cuisensen
 * data: 2018/6/15.
 * time: 19:11.
 */
public interface UserDao {
    void save(User user);
    void delete(User user);
    void update(User user);
    User byId(Integer id);
    int getTotalCount();
    List<User> getAll();
}
